<script type="text/javascript" src="<?=ADMIN?>/js/googlemap.js"></script>
<?php
  $categoryPage = array('index.php','form2.php','edit.php');
  $productPage = array('products.php','product_form.php','product_edit.php','product_import.php');
  $collectionPage = array('collection.php','collection_form.php','collection_edit.php');
?>
<div id = "sub-menu">
  <div class = "sub-btn"><a <?php if(in_array($pageuri,$categoryPage)){ echo 'class="current"';} ?> href="index.php"><?_l('category')?></a></div>
  <div class = "sub-btn"><a <?php if(in_array($pageuri,$collectionPage)){ echo 'class="current"';} ?> href="collection.php"><?_l('collection')?></a></div>
  <div class = "sub-btn"><a <?php if(in_array($pageuri,$productPage)){ echo 'class="current"';} ?> href="products.php"><?_l('product')?></a></div>
</div>